package cn.stylefeng.guns.modular.business.controller;

import cn.stylefeng.roses.kernel.resource.api.annotation.ApiResource;
import cn.stylefeng.roses.kernel.resource.api.annotation.GetResource;
import org.springframework.stereotype.Controller;

@Controller
@ApiResource(name = "设备配置界面")
public class DeviceConfigViewController {

    /**
     * 设备配置界面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "设备配置首页", path = "/deviceconfig/manage")
    public String deviceConfigIndex() {
        return "/modular/business/deviceConfig/device_config.html";
    }


    /**
     * 设备配置修改界面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "设备配置修改页", path = "/deviceconfig/manage/edit")
    public String deviceConfigEdit() {
        return "/modular/business/deviceConfig/deviceConfig_edit.html";
    }


    /**
     * 设备配置新增界面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "设备配置新增界面", path = "/deviceconfig/manage/add")
    public String deviceConfigAdd() {
        return "/modular/business/deviceConfig/deviceConfig_add.html";
    }


    /**
     * 编辑修改界面选择项目页面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "编辑修改界面选择项目页面", path = "/deviceconfig/manage/editProject")
    public String deviceConfigEditProject() {
        return "/modular/business/deviceConfig/device_edit_project.html";
    }


    /**
     * 编辑修改界面选择设备页面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "编辑修改界面选择项目页面", path = "/deviceconfig/manage/editDevice")
    public String deviceConfigEditDevice() {
        return "/modular/business/deviceConfig/device_edit_device.html";
    }


    /**
     * 编辑修改界面选择摄像头页面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "编辑修改界面选择摄像头页面", path = "/deviceconfig/manage/editCamera")
    public String deviceConfigEditCamera() {
        return "/modular/business/deviceConfig/device_edit_camera.html";
    }




    /**
     * 双击查看设备配置页面
     *
     * @author mjg
     * @date 2020/3/25 14:00
     */
    @GetResource(name = "双击查看设备配置页面", path = "/deviceconfig/manage/rowDouble")
    public String deviceConfigRowDouble() {
        return "/modular/business/deviceConfig/deviceConfig_rowDouble.html";
    }




}
